<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>多行交叉轴对齐</title>
    <style>
        .item {
            width: 120px;
            height: 130px;
            border: 2px solid red;
            font-size: 30px;
        }
        .box {
            background-color: lightgreen;
            display: flex;
            flex-wrap: wrap;
            width: 700px;
            height:350px;
            align-content: space-between;
            align-content: space-around;
            align-content: space-evenly;
            align-content: center;
            align-content: flex-start;
            align-content: flex-end;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="item">1</div>
        <div class="item">2</div>
        <div class="item">3</div>
        <div class="item">4</div>
        <div class="item">5</div>
        <div class="item">6</div>
        <div class="item">7</div>
        <div class="item">8</div>
        <div class="item">9</div>
     </div>
</body>
</html>